<?php
/**
 * Created by PhpStorm.
 * Author: Shadow
 * Date: 2022/6/28
 * Time: 11:11 上午
 * description: api.php
 * 接口
 */

use think\facade\Route;


Route::get('getData',"goods/getData");// 请求自己的接口获取数据

Route::resource('api','GoodsApi');// 会自动生成6规则
